package com.indexingsystem.boss.Vo;

import java.io.Serializable;
import java.util.List;

/**
  * @Discription 导出主题词请求 mybatis查询映射类
  * @Author mineary
  * @Date 21:26 2018/10/23
  */
public class ExportWordsWithOrderResVo implements Serializable {

    private Integer themeWordsId;
    private String themeWordsName;
    private String themeWordsCode;
    private Integer wordsCheckStatus;
    private String order;
    private String verify;
    private String description;
    private List<ExportWordsWithOrderResVo> words;

    public Integer getThemeWordsId() {
        return themeWordsId;
    }

    public void setThemeWordsId(Integer themeWordsId) {
        this.themeWordsId = themeWordsId;
    }

    public String getThemeWordsName() {
        return themeWordsName;
    }

    public void setThemeWordsName(String themeWordsName) {
        this.themeWordsName = themeWordsName;
    }

    public String getThemeWordsCode() {
        return themeWordsCode;
    }

    public void setThemeWordsCode(String themeWordsCode) {
        this.themeWordsCode = themeWordsCode;
    }

    public Integer getWordsCheckStatus() {
        return wordsCheckStatus;
    }

    public void setWordsCheckStatus(Integer wordsCheckStatus) {
        this.wordsCheckStatus = wordsCheckStatus;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getVerify() {
        if (getWordsCheckStatus() == 1) {
            return "Y";
        } else {
            return "N";
        }
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<ExportWordsWithOrderResVo> getWords() {
        return words;
    }

    public void setWords(List<ExportWordsWithOrderResVo> words) {
        this.words = words;
    }

    @Override
    public String toString() {
        return "ExportWordsWithOrderResVo{" +
                "themeWordsId=" + themeWordsId +
                ", themeWordsName='" + themeWordsName + '\'' +
                ", themeWordsCode='" + themeWordsCode + '\'' +
                ", wordsCheckStatus=" + wordsCheckStatus +
                ", order='" + order + '\'' +
                ", verify='" + getVerify() + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}
